browser.webNavigation.onCompleted.addListener(details => {
  browser.tabs.executeScript(details.tabId, {
    file: '/content.js'
  });
});